package com.tencent.mm.opensdk.modelmsg;

import android.os.Bundle;
import com.tencent.mm.opensdk.modelbase.BaseReq;
import com.tencent.mm.opensdk.modelbase.BaseResp;
import com.tencent.mm.opensdk.modelmsg.WXMediaMessage.Builder;

public class ShowMessageFromWX {
    public static class Req extends BaseReq {
        public String country;
        public String lang;
        public WXMediaMessage message;

        public Req() {

        }

        public Req(Bundle arg1) {

            this.fromBundle(arg1);
        }

        public boolean checkArgs() {
            boolean v0 = this.message == null ? false : this.message.checkArgs();
            return v0;
        }

        public void fromBundle(Bundle arg2) {
            super.fromBundle(arg2);
            this.lang = arg2.getString("_wxapi_showmessage_req_lang");
            this.country = arg2.getString("_wxapi_showmessage_req_country");
            this.message = Builder.fromBundle(arg2);
        }

        public int getType() {
            return 4;
        }

        public void toBundle(Bundle arg4) {
            Bundle v0 = Builder.toBundle(this.message);
            super.toBundle(v0);
            arg4.putString("_wxapi_showmessage_req_lang", this.lang);
            arg4.putString("_wxapi_showmessage_req_country", this.country);
            arg4.putAll(v0);
        }
    }

    public class Resp extends BaseResp {
        public Resp() {

        }

        public Resp(Bundle arg1) {

            this.fromBundle(arg1);
        }

        public boolean checkArgs() {
            return true;
        }

        public int getType() {
            return 4;
        }
    }

    private ShowMessageFromWX() {

    }
}

